#include"Queue.h"
int main()
{
	Queue queue;
	QueueInit(&queue);
	QueuePush(&queue, 1);
	QueuePush(&queue, 2);
	QueuePush(&queue, 3);
	QueuePush(&queue, 4);
	QueuePop(&queue);
	QNode* cur = queue.phead;
	while (cur)
	{
		printf("%d->", cur->val);
		cur = cur->next;
	}
	printf("\n");
	QDataType x = QueueFront(&queue);
	QDataType y = QueueBack(&queue);
	printf("%d %d\n", x, y);
	bool a = QueueEmpty(&queue);
	printf("%d\n", a);
	int size = QueueSize(&queue);
	printf("%d\n", size);
	QueueDestroy(&queue);
	return 0;
}